%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%                            prot.sty
%                          
%                           
% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% packages
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\usepackage{../fancyheadings}
\usepackage{fancyhdr}
\usepackage[german,english]{babel}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{float}

\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage{epsfig}
\usepackage[includeheadfoot]{geometry}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% user-defined commands
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\selectlanguage{english}
\newcommand{\matrnr}{Matr. Nr.}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% some size definitions and counter settings
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\oddsidemargin 1cm
\evensidemargin 1cm
\topmargin 0pt
\headsep 50pt
\textheight 21.5cm
\textwidth 14.1cm

\renewcommand{\floatpagefraction}{0.9}
\renewcommand{\textfraction}{0.05}
\renewcommand{\topfraction}{1.0}
\renewcommand{\bottomfraction}{1.0}

\setcounter{totalnumber}{3}
\setcounter{bottomnumber}{3}
\setcounter{topnumber}{3}

\setlength{\unitlength}{1mm}
\setlength{\parindent}{6mm}
\setlength{\parskip}{12pt plus2pt minus2pt}

\sloppy

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% define variables used on titlepage
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\setcounter{footnote}{0} 

% initialize variables
\gdef\@headline{SwitchViz User Manual}       
%\newcommand{\projektlogo}{\includegraphics[width=4cm]{../texlib/logo.png}}
%\gdef\@title{Laborprotokoll}

\newcommand{\vornameds}{Daniel}
\newcommand{\nachnameds}{Scheidle}
\newcommand{\matrikelds}{0326452}
\newcommand{\emailds}{scheidle@gmx.com}

\newcommand{\vornameto}{Thomas}
\newcommand{\nachnameto}{Otterbein}
\newcommand{\matrikelto}{0326464}
\newcommand{\emailto}{e0326464@student.tuwien.ac.at}

\newcommand{\vornamehf}{Hanno}
\newcommand{\nachnamehf}{Fallmann}
\newcommand{\matrikelhf}{0301432}
\newcommand{\emailhf}{e0301432@student.tuwien.ac.at}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% titlepage
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\maketitle{
\begin{titlepage}


% enlarge page
\setlength{\topmargin}{0pt}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\footskip}{0pt}

\let\footnotesize\small \let\footnoterule\relax \setcounter{page}{1}
\null
%\vfill
\large
\vskip 1.0 cm 


\begin{center}
% heading

%\Huge{\bf SwitchViz User Manual}

\includegraphics[scale=0.4,angle=00.0]{./screenshots/logo.png}

\vskip 0.5cm

{\Huge \bf \@title \par} 
{\small \today{}}
\vskip 0.5cm



\vskip 0.5cm

\small{
{\bf \vornameto~\nachnameto } \[thomas.otterbein@student.tuwien.ac.at\]\\ 
{\bf \vornameds~\nachnameds } \[daniel.scheidle@student.tuwien.ac.at\]\\ 
{\bf \vornamehf~\nachnamehf } \[hanno.fallmann@student.tuwien.ac.at\]\\ 
}

\vskip 1cm

\end{center} \par

\end{titlepage}


} % \def\maketitle


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{Ventry}[1]%
{\begin{list}{}{\renewcommand{\makelabel}[1]{\textbf{##1:}\hfill}%
\settowidth{\labelwidth}{\textbf{#1:}}%
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}}}%
{\end{list}}

\newcommand{\tablesize}{\fontsize{8}{10}\selectfont}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% layout of non-title pages
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\pagenumbering{roman}
\setlength{\parskip}{5pt plus2pt minus2pt}

\setlength{\parskip}{1mm}
\clearpage
\setlength{\parskip}{5pt plus2pt minus2pt}
\setlength{\parindent}{0pt}

\pagestyle{fancy}
%\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ #1}{}}
%\renewcommand{\sectionmark}[1]{\markboth{\thesection\ #1}{}}
\fancyhf{}

%Kopfzeile mittig
\fancyhead[C]{\@headline}
%Linie oben
\renewcommand{\headrulewidth}{0.2pt}

\fancyfoot[R]{\thepage}
\renewcommand{\footrulewidth}{0.2pt}


\addtolength{\headheight}{2pt}


\pagenumbering{arabic}
\setcounter{page} {1}

